﻿
@namespace BlamanticUI.Shared
@inject Microsoft.Extensions.Options.IOptions<RouteOptions> Options

<Router AppAssembly="Options.Value.AppAssembly" AdditionalAssemblies="new[] { typeof(BlamanticUI.Shared.Code).Assembly }">
    <Found Context="routeData">
        <RouteView RouteData="@routeData" DefaultLayout="@typeof(BlamanticUI.Shared.Shared.MainLayout)" />
    </Found>
    <NotFound>
        <LayoutView Layout="@typeof(BlamanticUI.Shared.Shared.MainLayout)">
            <p>Sorry, there's nothing at this address.</p>
        </LayoutView>
    </NotFound>
</Router>

<BlamanticUI.Components.BlamanticUIContainer />